package com.common.vo;

import com.thoughtworks.xstream.annotations.XStreamOmitField;


public class LoginAccount{
	@XStreamOmitField
	private boolean login = false;	//是否已登录
	@XStreamOmitField
	private String describe;//错误描述
	@XStreamOmitField
	private int tryNum=0;			//尝试次数
	private boolean valid = true;		//是否有效
	private String userName;
	private String userPwd;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public boolean isLogin() {
		return login;
	}
	public void setLogin(boolean login) {
		this.login = login;
	}
	public boolean isValid() {
		return valid;
	}
	public void setValid(boolean valid) {
		this.valid = valid;
	}
	public int getTryNum() {
		return tryNum;
	}
	public void setTryNum(int tryNum) {
		this.tryNum = tryNum;
	}
	public void addTryNum(){
		tryNum++;
	}
	
}
